import axios from "@/util/request.js";
import base from '../base.js'

export const profile = {
  getListProfileVOByPage : (data) => axios.post(`${base.baseUrl}/profile/list/page/vo`, data),
  getMyProfile : (data) => axios.get(`${base.baseUrl}/profile/get/my/profile?userId=${data}`, ),
  listMyProfileVO: (data) => axios.post(`${base.baseUrl}/profile/my/list/vo`, data),
  editMyProfile: (data)=>axios.post(`${base.baseUrl}/profile/edit`, data),
  uploadProfile:(data)=>axios.post(`${base.baseUrl}/profile/uploadProfile`, data),
}